# -*- coding:utf-8 -*-

from django.urls import include, path

from Apps.Demo.views import DemoView, PersonViewSet, DogViewSet, test_tem
from rest_framework.routers import SimpleRouter

router = SimpleRouter()

router.register('data', DemoView, basename='data')
router.register('person', PersonViewSet, basename='person')
router.register('dog', DogViewSet, basename='dog')

urlpatterns = [
                  path('test_tem/', test_tem),

              ] + router.urls
